<#assign ctx="${bw.contextPath}">
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<title>静态内容设置</title>
		<link rel="stylesheet" type="text/css" href="${ctx}/resources/assets/plugins/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="${ctx}/resources/assets/plugins/mui/css/mui.min.css" />
		<link rel="stylesheet" type="text/css" href="${ctx}/resources/assets/css/global.css" />
		<link rel="stylesheet" type="text/css" href="${ctx}/resources/assets/css/manage.css" />
	</head>

	<body>

		<!--头部菜单 -s-->
		<div id="app" v-cloak>
			<div class="mui-segmented-control mui-segmented-control-green">
				<a class="mui-control-item" href="javascript:;" data-href="toUserData">人员管理</a>
				<a class="mui-control-item" href="javascript:;" data-href="mangageLog">日志查看</a>
				<a class="mui-control-item mui-active" href="javascript:;" data-href="toStaticData">静态数据</a>
			</div>
			<!--头部菜单 -e-->
			<div class="mui-content member-box">
				<div class="notice">
					Tip:以下新增，修改，删除均在保存后才可生效。
				</div>
				<div class="title" style="background-color: #efeff4; padding: 8px 10px;">大型设备数目：</div>
				<!--表格头部 -s-->
				<div class="mui-row member-list header">
					<div class="mui-col-xs-3 field">
						<button type="button" class="mui-btn mui-btn-primary" style="margin-top: 6px;" @click="addRow('facility')"><i class="mui-icon mui-icon-plusempty"></i>添加</button>
					</div>
					<div class="mui-col-xs-9 field">参数</div>
				</div>
				<!--表格头部 -e-->
				<!--循环人员列表 -s-->
				<div class="mui-row member-list" v-for="(item,index) in facility">
					<div class="mui-col-xs-3 field">
						<div class="mui-input-row mui-checkbox">
							<label></label>
							<input name="facility" :data-id="item.id" type="checkbox" :checked="item.checked" @change="choseItem('facility',index)">
						</div>
					</div>
					<div class="mui-col-xs-6 field"><input type="text" name="" :id="item.id" :value="item.name" v-model="item.name" /></div>
					<div class="mui-col-xs-3 field"><button type="button" class="mui-btn mui-btn-danger" style="margin-top: 6px;" @click="deletRow('facility',index)">删除</button></div>
				</div>
				<!--循环人员列表 -e-->
				<div class="title" style="background-color: #efeff4; padding: 8px 10px;">重要物资数目：</div>
				<!--表格头部 -s-->
				<div class="mui-row member-list header">
					<div class="mui-col-xs-3 field">
						<button type="button" class="mui-btn mui-btn-primary" style="margin-top: 6px;" @click="addRow('materiel')"><i class="mui-icon mui-icon-plusempty"></i>添加</button>
					</div>
					<div class="mui-col-xs-9 field">参数</div>
				</div>
				<!--表格头部 -e-->
				<!--循环人员列表 -s-->
				<div class="mui-row member-list" v-for="(item2,index) in materiel">
					<div class="mui-col-xs-3 field">
						<div class="mui-input-row mui-checkbox">
							<label></label>
							<input name="materiel" :data-id="item2.id" type="checkbox" :checked="item2.checked" @change="choseItem('materiel',index)">
						</div>
					</div>
					<div class="mui-col-xs-6 field"><input type="text" name="" :id="item2.id" :value="item2.name" v-model="item2.name" /></div>
					<div class="mui-col-xs-3 field"><button type="button" class="mui-btn mui-btn-danger" style="margin-top: 6px;" @click="deletRow('materiel',index)">删除</button></div>
				</div>
				<!--循环人员列表 -e-->

			</div>
			<nav class="mui-bar mui-bar-tab footbar-nav-box backdrop-filter">
				<div class="mui-row">
					<div class="mui-col-xs-12">
						<a class="footbar-tab-item" @click="save"><span class="mui-tab-label">保存</span></a>
					</div>
				</div>
			</nav>
		</div>
		<script src="${ctx}/resources/assets/plugins/jquery-1.11.3.min.js"></script>
		<script src="${ctx}/resources/assets/plugins/mui/js/mui.min.js"></script>
		<script src="${ctx}/resources/assets/plugins/vue.min.js"></script>
		<script src="${ctx}/resources/assets/js/global.js"></script>
		<script src="${ctx}/resources/assets/js/manage-content.js"></script>
	</body>

</html>